package com.miao.common.entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * 首页轮播图信息表(Carouse)表实体类
 *
 * @author MiaoWenQing
 * @since 2021-02-19 17:50:20
 */
@SuppressWarnings("serial")
public class Carouse extends Model<Carouse> {
    //轮播图id
    @TableId(type = IdType.INPUT)
    private Integer caroId;
    //轮播图 图片链接
    private String caroImg;
    //商品ID
    private String proId;


    public Integer getCaroId() {
        return caroId;
    }

    public void setCaroId(Integer caroId) {
        this.caroId = caroId;
    }

    public String getCaroImg() {
        return caroImg;
    }

    public void setCaroImg(String caroImg) {
        this.caroImg = caroImg;
    }

    public String getProId() {
        return proId;
    }

    public void setProId(String proId) {
        this.proId = proId;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.caroId;
    }
}
